Revenue\Revenue_Bundle_Discount D

Total Complexity 204
Dependencies 0
Dependents 1
Total lines 1,223
Lines of code 612
Logical lines of code 393
Comment lines 382
Methods 34
Properties 4

Methods 34

Method Rating Maintainability Complexity Lines of code
after_bundle_parent_added_to_cart()
B
42 17 49
get_bundled_order_child_items()
B
47 17 32
before_calculate_cart_totals()
A
46 15 34
render_views()
A
42 13 58
get_bundle_item_price()
A
49 13 27
bundled_add_to_cart()
A
44 11 45
get_parent_cart_item_price()
A
53 9 22
get_parent_cart_item_regular_price()
A
53 9 22
after_item_quantity_update()
A
54 9 20
get_bundled_child_cart_items()
A
56 9 17
get_bundled_child_items()
A
56 9 17
create_bundle_parent_product_if_not_created()
A
42 6 56
validate_bundle_items()
A
54 8 22
order_formatted_line_subtotal()
S
52 6 23
get_bundled_parent_cart_item_container()
S
60 6 13
restore_cart_item()
S
57 5 16
remove_cart_item()
S
57 4 16
cart_item_price()
S
61 4 12
cart_item_class()
S
66 3 9
cart_item_subtotal()
S
67 3 8
cart_item_data()
S
64 3 9
is_part_of_bundle()
S
68 3 7
init()
S
56 1 16
output_inpage_views()
S
68 2 7
output_popup_views()
S
70 2 6
output_floating_views()
S
70 2 6
make_parent_product_purchasable()
S
69 2 7
get_bundle_product_id()
S
69 2 7
get_product_id_by_sku()
S
66 2 8
cart_item_remove_link()
S
71 2 6
cart_item_quantity()
S
71 2 6
is_bundle_child_item()
S
77 2 3
is_bundle_parent_item()
S
77 2 3
is_removing_bundle_parent_item()
S
79 1 3